/* ═══════════════════════════════════════════════
   KRISH JAISWAL PORTFOLIO — style.css
   Bold · Gen-Z · Vibrant · Motion-heavy
═══════════════════════════════════════════════ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --white: #f2ede4;
  --acid: #c8ff00;
  --pink: #ff2d6f;
  --blue: #00d4ff;
  --orange: #ff6b1a;
  --purple: #9b5de5;
  --card-bg: #101010;
  --border: rgba(242, 237, 228, 0.07);
  --font-d: "Bebas Neue", sans-serif;
  --font-b: "Syne", sans-serif;
  --font-m: "Space Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
}

/* ── NOISE ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9995;
}

/* ── CURSOR ── */
#cursor {
  width: 10px;
  height: 10px;
  background: var(--acid);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s;
}
#cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(200, 255, 0, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}
body:hover #cursor,
body:hover #cursor-ring {
  opacity: 1;
}

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.pre-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pre-logo {
  font-family: var(--font-d);
  font-size: clamp(64px, 12vw, 120px);
  line-height: 1;
  display: flex;
  gap: 4px;
}
.pre-logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: preUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pre-logo span:nth-child(1) {
  animation-delay: 0s;
}
.pre-logo span:nth-child(2) {
  animation-delay: 0.07s;
}
.pre-logo span:nth-child(3) {
  animation-delay: 0.14s;
}
.pre-logo span:nth-child(4) {
  animation-delay: 0.21s;
}
.pre-logo span:nth-child(5) {
  animation-delay: 0.28s;
}
@keyframes preUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pre-bar {
  width: 220px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.pre-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--pink));
  width: 0;
  animation: barFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
  border-radius: 2px;
}
@keyframes barFill {
  to {
    width: 100%;
  }
}
.pre-count-wrap {
  font-family: var(--font-m);
  font-size: 12px;
  color: rgba(242, 237, 228, 0.4);
  letter-spacing: 0.1em;
}
#counter {
  color: var(--acid);
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.3s,
    backdrop-filter 0.3s;
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-d);
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo .dot {
  color: var(--acid);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--acid);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--acid);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--acid);
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.mob-link {
  font-family: var(--font-d);
  font-size: clamp(40px, 10vw, 72px);
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover {
  color: var(--acid);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding: 120px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 237, 228, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: orbPulse 9s ease-in-out infinite;
}
.orb1 {
  width: 550px;
  height: 550px;
  background: rgba(200, 255, 0, 0.07);
  top: -120px;
  right: -80px;
}
.orb2 {
  width: 420px;
  height: 420px;
  background: rgba(255, 45, 111, 0.05);
  bottom: -60px;
  left: 20%;
  animation-delay: -4s;
}
.orb3 {
  width: 320px;
  height: 320px;
  background: rgba(155, 93, 229, 0.06);
  top: 40%;
  left: -80px;
  animation-delay: -8s;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.06) translateY(-30px);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 2s forwards;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  font-style: normal;
  opacity: 0;
  transform: translateY(100%) rotate(2deg);
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(1) .word {
  animation-delay: 1.5s;
}
.hero-title .line:nth-child(2) .word {
  animation-delay: 1.65s;
}
.hero-title .line:nth-child(3) .word {
  animation-delay: 1.8s;
}
.small-line {
  font-size: clamp(40px, 5vw, 80px) !important;
}
@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.acid {
  color: var(--acid);
}
.pink {
  color: var(--pink);
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242, 237, 228, 0.65);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 2.1s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s 2.2s forwards;
}
.btn-primary {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--acid);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--pink);
}
.btn-ghost {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--acid);
  color: var(--acid);
  transform: translate(-2px, -2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.6s 2.4s forwards;
}
.stat {
  text-align: left;
}
.stat-num {
  font-family: var(--font-d);
  font-size: 42px;
  color: var(--acid);
  line-height: 1;
}
.stat sup {
  font-family: var(--font-d);
  font-size: 20px;
  color: var(--acid);
}
.stat p {
  font-size: 11px;
  color: rgba(242, 237, 228, 0.4);
  font-family: var(--font-m);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MASCOT ── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-wrapper {
  position: relative;
  width: 380px;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  animation: mascotReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}
@keyframes mascotReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mascot-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(200, 255, 0, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
  }
}

.mascot-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 0, 0.15);
  animation: ringExpand 3s ease-in-out infinite;
}
.ring1 {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.ring2 {
  width: 420px;
  height: 420px;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.5s;
  border-color: rgba(200, 255, 0, 0.07);
}
@keyframes ringExpand {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.mascot-img {
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7));
  animation: mascotFloat 4s ease-in-out infinite 3s;
}
@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.mascot-badge {
  position: absolute;
  z-index: 3;
  background: rgba(16, 16, 16, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 40px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  animation: badgeFloat 3s ease-in-out infinite;
}
.badge1 {
  top: 60px;
  left: -10px;
  animation-delay: 0s;
  border-color: rgba(200, 255, 0, 0.3);
  color: var(--acid);
}
.badge2 {
  top: 180px;
  right: -20px;
  animation-delay: 1s;
  border-color: rgba(255, 45, 111, 0.3);
  color: var(--pink);
}
.badge3 {
  bottom: 120px;
  left: -30px;
  animation-delay: 2s;
  border-color: rgba(155, 93, 229, 0.3);
  color: var(--purple);
}
@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* .hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.3);
  opacity: 0;
  animation: fadeUp 0.6s 2.8s forwards;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 237, 228, 0.3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--acid);
  animation: scrollSlide 2s ease-in-out infinite 3s;
}
@keyframes scrollSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
} */

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.scroll-text {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #666;
}
.arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 1.6s ease-in-out infinite;
}
.arrow {
  width: 2px;
  height: 40px;
  background: #c8ff00;
  border-radius: 2px;
}
.chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid #c8ff00;
  border-bottom: 2px solid #c8ff00;
  transform: rotate(45deg);
  margin-top: -10px;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.4;
  }
}

/* ── MARQUEE ── */
.marquee-wrapper {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(200, 255, 0, 0.03);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-d);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 228, 0.5);
}
.marquee-track .mx {
  color: var(--acid);
  font-size: 14px;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── SECTION COMMONS ── */
section {
  padding: 120px 48px;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}
.section-header.centered {
  text-align: center;
}
.section-tag {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.4);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.02em;
}

/* ── FILTER ── */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.5);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 2px;
  cursor: none;
  transition: all 0.25s;
}
.filter-btn:hover {
  color: var(--white);
  border-color: rgba(242, 237, 228, 0.3);
}
.filter-btn.active {
  background: var(--acid);
  color: var(--bg);
  border-color: var(--acid);
}

/* ── PROJECTS GRID ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 255, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.project-card.featured {
  grid-column: span 2;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.card-img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.project-card:hover .card-img {
  transform: scale(1.04);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .card-overlay {
  opacity: 1;
}
.card-view-btn {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--acid);
  padding: 12px 24px;
  border-radius: 2px;
  text-decoration: none;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.project-card:hover .card-view-btn {
  transform: translateY(0);
}

.card-info {
  padding: 20px 24px;
}
.card-cat {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acid);
  display: block;
  margin-bottom: 8px;
}
.card-info h3 {
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}
.card-info p {
  font-size: 13px;
  color: rgba(242, 237, 228, 0.5);
  line-height: 1.6;
  margin-bottom: 14px;
}
.card-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.card-tools span {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 228, 0.4);
  background: rgba(242, 237, 228, 0.05);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* PLACEHOLDER ARTS */
.pla {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pla-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(200, 255, 0, 0.6);
  position: absolute;
}
.pla-text {
  font-family: var(--font-d);
  font-size: 28px;
  color: rgba(200, 255, 0, 0.8);
  text-align: center;
  line-height: 1;
}

.phone-mock {
  width: 80px;
  height: 140px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
.pm-notch {
  width: 30px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 4px;
}
.pm-heart {
  font-size: 24px;
  color: #ff006e;
}
.pm-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.pm-bar.short {
  width: 60%;
}

.poster-pla {
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.pl-line {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.pl-line.short {
  width: 60%;
}

.grid-pla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 20px;
  width: 120px;
  height: 120px;
}
.gp-cell {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.logo-pla {
  flex-direction: column;
  gap: 10px;
}
.lp-shape {
  width: 60px;
  height: 60px;
  background: rgba(255, 159, 28, 0.6);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.lp-text {
  font-family: var(--font-d);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3em;
}

.pkg-pla {
}
.pkg-box {
  width: 80px;
  height: 100px;
  background: rgba(214, 40, 40, 0.5);
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}
.pkg-box::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: rgba(214, 40, 40, 0.7);
  clip-path: polygon(0 100%, 50% 0%, 100% 100%);
}

.wave-pla {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.wb {
  width: 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px 3px 0 0;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wb:nth-child(2) {
  animation-delay: 0.1s;
}
.wb:nth-child(3) {
  animation-delay: 0.2s;
}
.wb:nth-child(4) {
  animation-delay: 0.3s;
}
.wb:nth-child(5) {
  animation-delay: 0.4s;
}
.wb:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes waveAnim {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.kj-pla {
  font-family: var(--font-d);
  font-size: 80px;
  color: var(--acid);
  letter-spacing: 0.05em;
}

.work-cta-row {
  margin-top: 48px;
  text-align: center;
}
.btn-outline {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--acid);
  color: var(--acid);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(200, 255, 0, 0.2);
}

/* ── ABOUT ── */
#about {
  background: rgba(16, 16, 16, 0.5);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.about-para {
  font-size: 15px;
  color: rgba(242, 237, 228, 0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-para strong {
  color: var(--white);
}

.edu-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(200, 255, 0, 0.05);
  border: 1px solid rgba(200, 255, 0, 0.15);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 28px 0;
}
.edu-icon {
  font-size: 24px;
}
.edu-icon img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.edu-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.edu-sub {
  font-size: 12px;
  color: rgba(242, 237, 228, 0.4);
  font-family: var(--font-m);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-pill {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.25s;
}
.social-pill:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.about-right {
  display: flex;
  justify-content: center;
}
.about-mascot-wrap {
  position: relative;
  width: 360px;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-mascot-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(155, 93, 229, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.about-mascot {
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: mascotFloat 5s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(16, 16, 16, 0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 40px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  animation: badgeFloat 3s ease-in-out infinite;
}
.chip1 {
  top: 40px;
  left: -20px;
  animation-delay: 0s;
}
.chip2 {
  top: 160px;
  right: -30px;
  animation-delay: 0.8s;
}
.chip3 {
  bottom: 100px;
  left: -30px;
  animation-delay: 1.6s;
}
.chip4 {
  bottom: 40px;
  right: -10px;
  animation-delay: 2.4s;
}
.float-chip img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
/* ── SKILLS ── */
#skills {
  background: var(--bg);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  max-width: 1300px;
  margin: 0 auto 60px;
}
.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 4px;
  transition:
    transform 0.3s,
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.skill-card:hover::before {
  transform: scaleX(1);
}
.sc-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.skill-card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.skill-card p {
  font-size: 13px;
  color: rgba(242, 237, 228, 0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.skill-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skill-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.sb-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acid), var(--pink));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-bar-wrap span {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--acid);
  min-width: 36px;
}

.tools-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.tools-label {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.3);
  margin-bottom: 20px;
  display: block;
}
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tool-pill {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 228, 0.6);
  background: rgba(242, 237, 228, 0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.2s;
}
.tool-pill:hover {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(200, 255, 0, 0.05);
}

/* ── CONTACT ── */
#contact {
  background: rgba(12, 12, 12, 1);
  overflow: visible;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.contact-big {
  font-family: var(--font-d);
  font-size: clamp(60px, 9vw, 120px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.contact-sub {
  font-size: 15px;
  color: rgba(242, 237, 228, 0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.ci-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.ci-item span:first-child {
  font-size: 20px;
}
.ci-item i {
  font-size: 20px;
  color: var(--acid);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.ci-item a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.ci-item a:hover {
  color: var(--acid);
}

.contact-socials {
  display: flex;
  gap: 16px;
}
.cs-link {
  font-family: var(--font-d);
  font-size: 28px;
  color: rgba(242, 237, 228, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-link:hover {
  color: var(--acid);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(242, 237, 228, 0.04);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 2px;
  outline: none;
  resize: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200, 255, 0, 0.4);
  background: rgba(200, 255, 0, 0.03);
}
.form-group select option {
  background: var(--bg);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--acid);
  padding: 16px 32px;
  border: none;
  border-radius: 2px;
  cursor: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.form-submit:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--pink);
}
.btn-arr {
  font-size: 18px;
  transition: transform 0.2s;
}
.form-submit:hover .btn-arr {
  transform: translateX(4px);
}

.form-success {
  display: none;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--acid);
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 2px;
  background: rgba(200, 255, 0, 0.05);
}
.form-success.show {
  display: block;
}

/* FOOTER MASCOT */
.footer-mascot-wrap {
  display: flex;
  justify-content: flex-start;
  padding-left: 450px;
  margin-top: -580px;
  margin-bottom: -120px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}
.footer-mascot {
  width: 360px;
  opacity: 0.12;
  filter: grayscale(1) contrast(1.2);
}

/* FOOTER */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-d);
  font-size: 24px;
}
footer p {
  font-size: 12px;
  font-family: var(--font-m);
  color: rgba(242, 237, 228, 0.35);
}
.back-top {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.back-top:hover {
  color: var(--acid);
}

/* ── HIDDEN CARDS ── */
.project-card.hidden {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-right {
    display: none;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .project-card.featured {
    grid-column: span 1;
  }

  /* Prevent mascot overlap on tablet */
  .footer-mascot-wrap {
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 0;
    justify-content: center;
  }
  .footer-mascot {
    width: min(300px, 70vw);
    height: auto;
    max-width: 100%;
  }

  /* Keep contact/footer stack clean */
  #contact {
    padding-bottom: 80px;
  }
  footer {
    position: relative;
    z-index: 3;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  section {
    padding: 88px 24px;
  }
  #hero {
    padding: 100px 24px 60px;
  }
  #navbar {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Better mobile image scaling */
  .mascot-img {
    max-width: 260px;
    width: 100%;
    height: auto;
  }
  .about-mascot {
    max-width: 240px;
    width: 100%;
    height: auto;
  }

  /* Remove overlap source on phone */
  .footer-mascot-wrap {
    display: none;
  }

  #contact {
    padding-bottom: 56px;
  }

  footer {
    padding: 24px;
    margin-top: 0;
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* Goswasthya work-card background design */
.hero-bg {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #0a2318 0%, #0d3d22 60%, #1a5c35 100%);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.hero-bg::before {
  content: none;

}
